With scripting commands, verification can only be initiated after a connection is established.
-
Log on to the source using the
login command.
Command
LOGIN
Description
Log on to a Double-Take Availability machine
Syntax
LOGIN <machine> <username> <password> [domain]
Options
- machine—Name of the machine
- username—Name of the user. The username is limited to 100 characters.
- password—Password associated with the user name. The password is limited to 100 characters.
- domain—If logging in using a domain account, this is the domain name. If logging in using a local account, this is the machine name. The domain is limited to 100 characters.
Examples
login alpha administrator ******
Notes
- Options that contain non-alphanumeric characters must be enclosed in quotation marks.
- The password cannot be a Double-Take Availability keyword. These are any DTCL command (source, target, and so on.) or any DTCL shortcut command (env, mon, rep, and so on).
- When scripting with this command, it will return one of three positive numbers: 0 (no access granted), 1 (monitor access granted), or 2 (full access granted).
-
Identify the source that you want to initiate verification for by using the
source command.
Command
SOURCE
Description
Identifies a machine as the active source machine
Syntax
SOUrce <source>
Options
source—Name of the source
Examples
Notes
Source names that contain non-alphanumeric characters must be enclosed in quotation marks.
-
Use the , , and options with the
get and
set commands to configure the verification log.
Command
GET
Description
Requests the value of a Double-Take Availability program setting from the specified server
Syntax
GET <setting> [machine]
Options
- setting—See Server settings for a complete list of the Double-Take Availability program settings
- machine—Name of the machine
Examples
- get AutoRemirror
- get MoveOrphansDir
Notes
-
If you do not specify a machine name, the value from the current source will be returned. If you have not identified an active source, no data will be returned.
- Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command
SET
Description
Modifies the value of a Double-Take Availability program setting for the specified server
Syntax
SET <setting>=<value> [machine]
Options
- setting—See Server settings for a complete list of the Double-Take Availability program settings
- value—See Server settings for a complete list of the values for each Double-Take Availability program setting
- machine—Name of the machine
Examples
- set AutoRemirror=3
-
set MoveOrphansDir="C:\OrphanFiles"
Notes
- Some settings, although immediately applied to Double-Take Availability, will not take effect until the service is restarted.
- If you do not specify a machine name, the value from the current source will be updated. If you have not identified an active source, no changes will be made.
- Options that contain non-alphanumeric characters must be enclosed in quotation marks.
-
Initiate the verification process by using the
verify command.
Command
VERIFY
Description
Verifies the integrity of the data between the source and target machines
Syntax
VERIFY <con_id> [ SYNC [,NEWER] | NOSYNC]
[,CHECKSUM | NOCHECKSUM] [STARTTIME=<mm/dd/yy> [hh:mm]] [EVERY <number> <time_units>] [ORPHANS | NOORPHANS] [CLEARRESTOREREQUIRED]
Options
- con_id—Connection ID assigned to the source/target connection
- SYNC—Synchronizes any data that is different
- NEWER—Synchronizes only those files that are newer on the source than on the target
- NOSYNC—Do not synchronize any data that is different
- CHECKSUM—Compares and/or synchronizes those blocks that are different on the source than on the target based on checksum comparisons
- NOCHECKSUM—Does not perform a checksum comparison when comparing and/or synchronizing files
- STARTTIME—Starts the verification process at the time specified
- mm/dd/yy—Date in month/day/year format when the verification process will begin
- hh:mm—Time in hour:minute format using the 24-hour clock when the verification process will begin
- EVERY—Repeat the verification process at the frequency specified
- number—Length of time to repeat the verification process
- time_units—Minutes (min), hours (hr), or days (day)
- ORPHANS—Moves or deletes orphan files on the target
- NOORPHANS—Does not move or delete orphan files on the target
- CLEARRESTOREREQUIRED—Clears the restore required flag and initiates the verification
Examples
- verify 1
-
verify 2 sync, newer
- verify 2 every 2 hr
Notes
The default verification settings are sync, checksum, and noorphans.